/* ======使用注明=======
 //#import "SEGMarketDetailView.h"
 //@property (nonatomic, strong)SEGMarketDetailView *varMarketDetailView; <#注释#>
 // 控件数据模型创建
 SEGMarketDetailViewModel *data = [[SEGMarketDetailViewModel alloc]init];
 // 控件内容布局计算
 SEGMarketDetailViewLayout *layout = [[SEGMarketDetailViewLayout alloc]initWithData:data type:SEGEnumMarketDetailViewType_NO];
 // 内容布局填充到视图
 SEGMarketDetailView *varMarketDetailView = [[SEGMarketDetailView alloc]initWithFrame:CGRectZero];
 //varMarketDetailView.delegate = self;
 varMarketDetailView.left = 0;
 varMarketDetailView.top = 0;
 varMarketDetailView.width = LYScreenWidth()();
 varMarketDetailView.height = varMarketDetailView.layout.totalHeight;
 [varMarketDetailView setWithLayout:layout];
 
 */
#import <UIKit/UIKit.h>
#import "SEGMarketDetailViewModel.h"

@protocol SEGprotocolMarketDetailViewDelegate <NSObject>

- (void)marketDetailViewImageTapWithImageUrlArray:(NSArray *)arr SelectedImageView:(UIImageView*)image SelectedIndex:(NSInteger)index;
@optional
-(void)SEGprotocoltitleLabel:(SEGLabel*)sender;
-(void)SEGprotocolcontentLabel:(SEGLabel*)sender;
-(void)SEGprotocolpriceLabel:(SEGLabel*)sender;

@end

@interface SEGMarketDetailView : UIView
@property (nonatomic, strong,readonly)SEGMarketDetailViewLayout *layout;
- (void)setWithLayout:(SEGMarketDetailViewLayout *)layout;

@property (nonatomic, strong) SEGLabel *titleLabel; // <#注释#>
@property (nonatomic, strong) SEGLabel *contentLabel; // <#注释#>
@property (nonatomic, strong) SEGLabel *priceLabel; // <#注释#>

@property (nonatomic, strong) UIView *imageContentView; // <#注释#>

@property (nonatomic, assign) id<SEGprotocolMarketDetailViewDelegate> delegate;// 代理
@end
